package com.electric.electric.service;

import com.electric.electric.POJO.DTO.admin.SysUserDTO;
import com.electric.electric.POJO.DTO.admin.UserInfoDTO;
import com.electric.electric.POJO.Entity.admin.SysUser;



public interface LoginService {
    /**
     * 登录验证
     * @param sysUser
     * @return
     */
    SysUser login(SysUserDTO sysUser);

    /**
     * 查询用户角色信息
     *
     * @param id
     * @return
     */
    UserInfoDTO getInfo(Integer id);
}
